python dict to json string知識摘要
(共計:19)
-
json - Python Module of the Week
The encoder understands Python's native types by default (string, unicode, int, float, list, tuple, dict). import json data = [ { 'a':'A', 'b':(2, 4), 'c':3.0 } ] print 'DATA:', ...